package quizman;

import java.util.List;

import org.dsrg.ts.threadLocal.DbRegistry;

import quizman.domain.Quiz;
import quizman.mappers.QuizMapper;

public class ViewAllQuizTS {

	public static List<Quiz> execute() throws Exception {
		try
		{
			return QuizMapper.findAll();
		}
		finally
		{
			DbRegistry.closeDbConnection();
		}
	}

}
